﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Imaginarium.effect;
using System.Xml;

namespace Imaginarium.team
{
    public class DetailSpecialState :ICloneable
    {
        public float AfectProbability { get; set; }//0% a 100%
        public SpecialState specialState { get; set; }

        public DetailSpecialState()
        {

        }
        public DetailSpecialState(DetailSpecialState detSpecialStateToClone) {
            DetailSpecialState dSSTC = detSpecialStateToClone; //alias

        }
        public DetailSpecialState(XmlElement element)
        { 
        
        }

        #region ICloneable Members

        public object Clone()
        {
            Type type = this.GetType();
            DetailSpecialState newDetailSpecialState = (DetailSpecialState)Activator.CreateInstance(type);
            newDetailSpecialState.AfectProbability = this.AfectProbability;
            newDetailSpecialState.specialState = this.specialState;
            return newDetailSpecialState;
        }

        #endregion
    }
}
